package org.smile.day04;

public class Fish extends Animal implements Behaviour{

    @Override
    public void breathe() {
        System.out.println("用鳃呼吸");
    }

//    @Override
//    public void move(){
//        System.out.println(this.getClass().getName()+": move");
//    }

    @Override
    public void attack() {
        System.out.println(this.getClass().getName()+": attack");
    }
}
